package com.boot.system.mapper;

import com.boot.system.entity.SysConfig;
import com.mybatisflex.annotation.UseDataSource;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@UseDataSource("mysql")
@Mapper
public interface ConfigMapper extends BaseMapper<SysConfig> {

    /**
     * 通过配置键查询
     * @param configKey 键
     * @return 信息
     */
    SysConfig selectByConfigKey(@Param("configKey") String configKey);

}
